package com.kj.platformlogistics.home.model;

import java.util.List;

public class AllHistoryOrderList {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"totalPage":1,"page":[{"id":"1","createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"sysOrgCode":null,"waybillNumber":"123456789","mailId":"3","receiveId":"5","shopOrder":"1","num":2,"payWay":"微信支付","status":4,"qrCode":null,"stationId":"1","latestEventId":null,"orderType":0},{"id":"2","createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"sysOrgCode":null,"waybillNumber":"444","mailId":"6","receiveId":"7","shopOrder":"4","num":2,"payWay":"微信支付","status":4,"qrCode":null,"stationId":"1","latestEventId":null,"orderType":0}]}
     * timestamp : 1624588462411
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * totalPage : 1
         * page : [{"id":"1","createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"sysOrgCode":null,"waybillNumber":"123456789","mailId":"3","receiveId":"5","shopOrder":"1","num":2,"payWay":"微信支付","status":4,"qrCode":null,"stationId":"1","latestEventId":null,"orderType":0},{"id":"2","createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"sysOrgCode":null,"waybillNumber":"444","mailId":"6","receiveId":"7","shopOrder":"4","num":2,"payWay":"微信支付","status":4,"qrCode":null,"stationId":"1","latestEventId":null,"orderType":0}]
         */

        private Integer totalPage;
        private Integer total;
        private List<PageDTO> page;


        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(Integer totalPage) {
            this.totalPage = totalPage;
        }

        public List<PageDTO> getPage() {
            return page;
        }

        public void setPage(List<PageDTO> page) {
            this.page = page;
        }

        public static class PageDTO {
            /**
             * id : 1
             * createBy : null
             * createTime : null
             * updateBy : null
             * updateTime : null
             * sysOrgCode : null
             * waybillNumber : 123456789
             * mailId : 3
             * receiveId : 5
             * shopOrder : 1
             * num : 2
             * payWay : 微信支付
             * status : 4
             * qrCode : null
             * stationId : 1
             * latestEventId : null
             * orderType : 0
             */

            private String id;
            private Object createBy;
            private String createTime;
            private String updateBy;
            private String updateTime;
            private Object sysOrgCode;
            private String waybillNumber;
            private String mailId;
            private String receiveId;
            private String shopOrder;
            private Integer num;
            private String payWay;
            private Integer status;
            private Object qrCode;
            private String stationId;
            private Object latestEventId;
            private Integer orderType;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Object getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Object createBy) {
                this.createBy = createBy;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(String updateBy) {
                this.updateBy = updateBy;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public Object getSysOrgCode() {
                return sysOrgCode;
            }

            public void setSysOrgCode(Object sysOrgCode) {
                this.sysOrgCode = sysOrgCode;
            }

            public String getWaybillNumber() {
                return waybillNumber;
            }

            public void setWaybillNumber(String waybillNumber) {
                this.waybillNumber = waybillNumber;
            }

            public String getMailId() {
                return mailId;
            }

            public void setMailId(String mailId) {
                this.mailId = mailId;
            }

            public String getReceiveId() {
                return receiveId;
            }

            public void setReceiveId(String receiveId) {
                this.receiveId = receiveId;
            }

            public String getShopOrder() {
                return shopOrder;
            }

            public void setShopOrder(String shopOrder) {
                this.shopOrder = shopOrder;
            }

            public Integer getNum() {
                return num;
            }

            public void setNum(Integer num) {
                this.num = num;
            }

            public String getPayWay() {
                return payWay;
            }

            public void setPayWay(String payWay) {
                this.payWay = payWay;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public Object getQrCode() {
                return qrCode;
            }

            public void setQrCode(Object qrCode) {
                this.qrCode = qrCode;
            }

            public String getStationId() {
                return stationId;
            }

            public void setStationId(String stationId) {
                this.stationId = stationId;
            }

            public Object getLatestEventId() {
                return latestEventId;
            }

            public void setLatestEventId(Object latestEventId) {
                this.latestEventId = latestEventId;
            }

            public Integer getOrderType() {
                return orderType;
            }

            public void setOrderType(Integer orderType) {
                this.orderType = orderType;
            }
        }
    }
}
